import Vue from 'vue'
import {
  Button, NavBar, Tabs, Tab, Popup, Cell,
  RadioGroup, Radio, DatetimePicker, Picker,
  Toast, Field, Rate, SubmitBar, NoticeBar,
  CellGroup, Checkbox, CheckboxGroup, Icon,
  Sticky, Switch, Search, Calendar, Image as VanImage,
  PullRefresh, ShareSheet, Swipe, SwipeItem, Lazyload, Form
} from 'vant'

Vue.use(Button)
  .use(NavBar).use(Tabs).use(Tab)
  .use(Cell).use(Popup).use(RadioGroup).use(Radio)
  .use(DatetimePicker).use(Picker).use(Toast).use(Field)
  .use(Button).use(NavBar).use(Tabs).use(Tab).use(SubmitBar).use(NoticeBar)
  .use(CellGroup).use(Field).use(Rate).use(Checkbox).use(CheckboxGroup)
  .use(Icon).use(Sticky).use(Switch).use(Search).use(Calendar).use(VanImage)
  .use(PullRefresh).use(ShareSheet).use(Swipe).use(SwipeItem).use(Lazyload)
  .use(Form)
